using SqlSugar;

namespace Vin.Extension.Framework.SugarFilter;

public interface IDataScope
{
    /// <summary>
    /// 创建人id
    /// </summary>
    [SugarColumn(DefaultValue = "0", ColumnDescription = "创建人id", CreateTableFieldSort = 10002)]
    public long? CreateUserId { get; set; }

    /// <summary>
    /// 创建人名称
    /// </summary>
    [SugarColumn(DefaultValue = "''", ColumnDescription = "创建人名称", CreateTableFieldSort = 10003)]
    public string? CreateUserName { get; set; }

    /// <summary>
    /// 创建人的账号id
    /// </summary>
    [SugarColumn(DefaultValue = "0", ColumnDescription = "创建人的账号id", CreateTableFieldSort = 10004)]
    public long? CreateAccountId { get; set; }

    /// <summary>
    /// 创建人的账号名称
    /// </summary>
    [SugarColumn(DefaultValue = "''", ColumnDescription = "创建人的账号名称", CreateTableFieldSort = 10005)]
    public string? CreateAccountName { get; set; }
}